/**
 * a class representing a shape
 * @author Matan Monitz, Nadav Cohen
 *
 */

public interface Shape {
	/** gets the perimeter length of the shape
	 * 
	 * @return double representing the sum of the length of all sides
	 */
	public double getPerimeter(); 
	/**
	 * get the area of the shape
	 * @return double representing the area inside the shape
	 */
	public double getArea();
	/**
	 * moves the shape according to one of the values of a Point in space
	 * @param p - a type Point object, the shape will be moved according to this parameter values
	 */
	public void move(Point p); 
	/**
	 * checks if point is inside of the shape
	 * @param p an object that is an instance of the point class representing the point to be checked 
	 * @return a boolean value, true - if the point given in the parameter is inside the shape <br> false - if the point is outside
	 */
	public boolean contains(Point p); 

}
